#pragma once

namespace TradeIt {

	using namespace System;
	using namespace System::ComponentModel;
	using namespace System::Collections;
	using namespace System::Windows::Forms;
	using namespace System::Data;
	using namespace System::Drawing;

	/// <summary>
	/// Summary for frmOptions
	/// </summary>
	public ref class frmOptions : public System::Windows::Forms::Form
	{
	public:
		frmOptions(void)
		{
			InitializeComponent();
			//
			//TODO: Add the constructor code here
			//
		}

	protected:
		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		~frmOptions()
		{
			if (components)
			{
				delete components;
			}
		}
	private: System::Windows::Forms::CheckBox^  ckDynamicRiskReward_S1;
	protected: 
	private: System::Windows::Forms::CheckBox^  ckAddQuantityAfterFirstLimit_S1;
	private: System::Windows::Forms::TextBox^  txtRiskInDollar_S1;
	private: System::Windows::Forms::TextBox^  txtTrailingStopThresh_S1;
	private: System::Windows::Forms::TextBox^  txtTrailingStopPeriod_S1;
	private: System::Windows::Forms::TextBox^  txtDynamicRiskRewardParameter_S1;
	private: System::Windows::Forms::TextBox^  txtTrailingStopThreshSpace_S1;
	private: System::Windows::Forms::TextBox^  txtStopLossSpread_S1;
	private: System::Windows::Forms::TextBox^  txtTriggerSpread_S1;
	private: System::Windows::Forms::Label^  label32;
	private: System::Windows::Forms::Label^  label5;
	private: System::Windows::Forms::Label^  label8;
	private: System::Windows::Forms::TextBox^  txtRoundStopPrice_S1;
	private: System::Windows::Forms::TextBox^  txtRoundPrice_S1;
	private: System::Windows::Forms::Label^  label4;
	private: System::Windows::Forms::TabPage^  tb2;
	private: System::Windows::Forms::Label^  label30;
	private: System::Windows::Forms::Label^  label31;
	private: System::Windows::Forms::Label^  label22;
	private: System::Windows::Forms::ComboBox^  cbLimit2Pro_S2;
	private: System::Windows::Forms::TextBox^  txtLimit2Dst_S2;
	private: System::Windows::Forms::ComboBox^  cbLimit1Pro_S2;
	private: System::Windows::Forms::TextBox^  txtLimit1Dst_S2;
	private: System::Windows::Forms::Label^  label23;
	private: System::Windows::Forms::Label^  label24;
	private: System::Windows::Forms::Label^  label25;
	private: System::Windows::Forms::ComboBox^  cbFirstQuantity_S2;
	private: System::Windows::Forms::TextBox^  txtQuantityToAdd_S2;
	private: System::Windows::Forms::TextBox^  txtRiskInDollar_S2;
	private: System::Windows::Forms::Label^  label21;
	private: System::Windows::Forms::Label^  label20;
	private: System::Windows::Forms::Label^  label19;
	private: System::Windows::Forms::Label^  label1;
	private: System::Windows::Forms::Label^  label3;
	private: System::Windows::Forms::TextBox^  txtAutoCloseLimit_G;
	private: System::Windows::Forms::CheckBox^  ckUseAdvisor_G;
	private: System::Windows::Forms::Label^  label16;
	private: System::Windows::Forms::Label^  label10;
	private: System::Windows::Forms::ComboBox^  cbSubAcc_G;
	private: System::Windows::Forms::CheckBox^  ckAlwaysOnTop_G;
	private: System::Windows::Forms::TextBox^  txtAutoCloseMarket_G;
	private: System::Windows::Forms::TextBox^  txtAllocation_G;
	private: System::Windows::Forms::Label^  label18;
	private: System::Windows::Forms::Button^  btnCancel;
	private: System::Windows::Forms::TabPage^  tbGeneral;
	private: System::Windows::Forms::GroupBox^  groupBox1;
	private: System::Windows::Forms::Label^  label17;
	private: System::Windows::Forms::TabPage^  tb1;
	private: System::Windows::Forms::Label^  label9;
	private: System::Windows::Forms::Label^  label2;
	private: System::Windows::Forms::Label^  label15;
	private: System::Windows::Forms::ComboBox^  cbLimit4Pro_S1;
	private: System::Windows::Forms::ComboBox^  cbLimit3Pro_S1;
	private: System::Windows::Forms::Label^  label13;
	private: System::Windows::Forms::ComboBox^  cbLimit2Pro_S1;
	private: System::Windows::Forms::TextBox^  txtLimit2Dst_S1;
	private: System::Windows::Forms::ComboBox^  cbLimit1Pro_S1;
	private: System::Windows::Forms::TextBox^  txtLimit1Dst_S1;
	private: System::Windows::Forms::Label^  label12;
	private: System::Windows::Forms::TextBox^  txtLimit4Dst_S1;
	private: System::Windows::Forms::Label^  label7;
	private: System::Windows::Forms::Label^  label14;
	private: System::Windows::Forms::TextBox^  txtLimit3Dst_S1;
	private: System::Windows::Forms::Label^  label29;
	private: System::Windows::Forms::Label^  label28;
	private: System::Windows::Forms::Label^  label27;
	private: System::Windows::Forms::Label^  label26;
	private: System::Windows::Forms::Label^  label6;
	private: System::Windows::Forms::Label^  label11;
	private: System::Windows::Forms::Button^  btnRestoreToDefault_G;
	private: System::Windows::Forms::Label^  lblHelp;
	private: System::Windows::Forms::Button^  btnOK;
	private: System::Windows::Forms::TabControl^  tabControl1;

	private:
		/// <summary>
		/// Required designer variable.
		/// </summary>
		System::ComponentModel::Container ^components;

#pragma region Windows Form Designer generated code
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		void InitializeComponent(void)
		{
			this->ckDynamicRiskReward_S1 = (gcnew System::Windows::Forms::CheckBox());
			this->ckAddQuantityAfterFirstLimit_S1 = (gcnew System::Windows::Forms::CheckBox());
			this->txtRiskInDollar_S1 = (gcnew System::Windows::Forms::TextBox());
			this->txtTrailingStopThresh_S1 = (gcnew System::Windows::Forms::TextBox());
			this->txtTrailingStopPeriod_S1 = (gcnew System::Windows::Forms::TextBox());
			this->txtDynamicRiskRewardParameter_S1 = (gcnew System::Windows::Forms::TextBox());
			this->txtTrailingStopThreshSpace_S1 = (gcnew System::Windows::Forms::TextBox());
			this->txtStopLossSpread_S1 = (gcnew System::Windows::Forms::TextBox());
			this->txtTriggerSpread_S1 = (gcnew System::Windows::Forms::TextBox());
			this->label32 = (gcnew System::Windows::Forms::Label());
			this->label5 = (gcnew System::Windows::Forms::Label());
			this->label8 = (gcnew System::Windows::Forms::Label());
			this->txtRoundStopPrice_S1 = (gcnew System::Windows::Forms::TextBox());
			this->txtRoundPrice_S1 = (gcnew System::Windows::Forms::TextBox());
			this->label4 = (gcnew System::Windows::Forms::Label());
			this->tb2 = (gcnew System::Windows::Forms::TabPage());
			this->label30 = (gcnew System::Windows::Forms::Label());
			this->label31 = (gcnew System::Windows::Forms::Label());
			this->label22 = (gcnew System::Windows::Forms::Label());
			this->cbLimit2Pro_S2 = (gcnew System::Windows::Forms::ComboBox());
			this->txtLimit2Dst_S2 = (gcnew System::Windows::Forms::TextBox());
			this->cbLimit1Pro_S2 = (gcnew System::Windows::Forms::ComboBox());
			this->txtLimit1Dst_S2 = (gcnew System::Windows::Forms::TextBox());
			this->label23 = (gcnew System::Windows::Forms::Label());
			this->label24 = (gcnew System::Windows::Forms::Label());
			this->label25 = (gcnew System::Windows::Forms::Label());
			this->cbFirstQuantity_S2 = (gcnew System::Windows::Forms::ComboBox());
			this->txtQuantityToAdd_S2 = (gcnew System::Windows::Forms::TextBox());
			this->txtRiskInDollar_S2 = (gcnew System::Windows::Forms::TextBox());
			this->label21 = (gcnew System::Windows::Forms::Label());
			this->label20 = (gcnew System::Windows::Forms::Label());
			this->label19 = (gcnew System::Windows::Forms::Label());
			this->label1 = (gcnew System::Windows::Forms::Label());
			this->label3 = (gcnew System::Windows::Forms::Label());
			this->txtAutoCloseLimit_G = (gcnew System::Windows::Forms::TextBox());
			this->ckUseAdvisor_G = (gcnew System::Windows::Forms::CheckBox());
			this->label16 = (gcnew System::Windows::Forms::Label());
			this->label10 = (gcnew System::Windows::Forms::Label());
			this->cbSubAcc_G = (gcnew System::Windows::Forms::ComboBox());
			this->ckAlwaysOnTop_G = (gcnew System::Windows::Forms::CheckBox());
			this->txtAutoCloseMarket_G = (gcnew System::Windows::Forms::TextBox());
			this->txtAllocation_G = (gcnew System::Windows::Forms::TextBox());
			this->label18 = (gcnew System::Windows::Forms::Label());
			this->btnCancel = (gcnew System::Windows::Forms::Button());
			this->tbGeneral = (gcnew System::Windows::Forms::TabPage());
			this->groupBox1 = (gcnew System::Windows::Forms::GroupBox());
			this->label17 = (gcnew System::Windows::Forms::Label());
			this->tb1 = (gcnew System::Windows::Forms::TabPage());
			this->label9 = (gcnew System::Windows::Forms::Label());
			this->label2 = (gcnew System::Windows::Forms::Label());
			this->label15 = (gcnew System::Windows::Forms::Label());
			this->cbLimit4Pro_S1 = (gcnew System::Windows::Forms::ComboBox());
			this->cbLimit3Pro_S1 = (gcnew System::Windows::Forms::ComboBox());
			this->label13 = (gcnew System::Windows::Forms::Label());
			this->cbLimit2Pro_S1 = (gcnew System::Windows::Forms::ComboBox());
			this->txtLimit2Dst_S1 = (gcnew System::Windows::Forms::TextBox());
			this->cbLimit1Pro_S1 = (gcnew System::Windows::Forms::ComboBox());
			this->txtLimit1Dst_S1 = (gcnew System::Windows::Forms::TextBox());
			this->label12 = (gcnew System::Windows::Forms::Label());
			this->txtLimit4Dst_S1 = (gcnew System::Windows::Forms::TextBox());
			this->label7 = (gcnew System::Windows::Forms::Label());
			this->label14 = (gcnew System::Windows::Forms::Label());
			this->txtLimit3Dst_S1 = (gcnew System::Windows::Forms::TextBox());
			this->label29 = (gcnew System::Windows::Forms::Label());
			this->label28 = (gcnew System::Windows::Forms::Label());
			this->label27 = (gcnew System::Windows::Forms::Label());
			this->label26 = (gcnew System::Windows::Forms::Label());
			this->label6 = (gcnew System::Windows::Forms::Label());
			this->label11 = (gcnew System::Windows::Forms::Label());
			this->btnRestoreToDefault_G = (gcnew System::Windows::Forms::Button());
			this->lblHelp = (gcnew System::Windows::Forms::Label());
			this->btnOK = (gcnew System::Windows::Forms::Button());
			this->tabControl1 = (gcnew System::Windows::Forms::TabControl());
			this->tb2->SuspendLayout();
			this->tbGeneral->SuspendLayout();
			this->groupBox1->SuspendLayout();
			this->tb1->SuspendLayout();
			this->tabControl1->SuspendLayout();
			this->SuspendLayout();
			// 
			// ckDynamicRiskReward_S1
			// 
			this->ckDynamicRiskReward_S1->AutoSize = true;
			this->ckDynamicRiskReward_S1->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Regular, 
				System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(177)));
			this->ckDynamicRiskReward_S1->Location = System::Drawing::Point(12, 121);
			this->ckDynamicRiskReward_S1->Name = L"ckDynamicRiskReward_S1";
			this->ckDynamicRiskReward_S1->Size = System::Drawing::Size(161, 20);
			this->ckDynamicRiskReward_S1->TabIndex = 48;
			this->ckDynamicRiskReward_S1->Text = L"Dynamic Risk-Reward";
			this->ckDynamicRiskReward_S1->UseVisualStyleBackColor = true;
			// 
			// ckAddQuantityAfterFirstLimit_S1
			// 
			this->ckAddQuantityAfterFirstLimit_S1->AutoSize = true;
			this->ckAddQuantityAfterFirstLimit_S1->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Regular, 
				System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(177)));
			this->ckAddQuantityAfterFirstLimit_S1->Location = System::Drawing::Point(12, 355);
			this->ckAddQuantityAfterFirstLimit_S1->Name = L"ckAddQuantityAfterFirstLimit_S1";
			this->ckAddQuantityAfterFirstLimit_S1->Size = System::Drawing::Size(191, 20);
			this->ckAddQuantityAfterFirstLimit_S1->TabIndex = 48;
			this->ckAddQuantityAfterFirstLimit_S1->Text = L"Add Quantity After First Limit";
			this->ckAddQuantityAfterFirstLimit_S1->UseVisualStyleBackColor = true;
			// 
			// txtRiskInDollar_S1
			// 
			this->txtRiskInDollar_S1->Location = System::Drawing::Point(105, 173);
			this->txtRiskInDollar_S1->Name = L"txtRiskInDollar_S1";
			this->txtRiskInDollar_S1->Size = System::Drawing::Size(137, 20);
			this->txtRiskInDollar_S1->TabIndex = 41;
			// 
			// txtTrailingStopThresh_S1
			// 
			this->txtTrailingStopThresh_S1->Location = System::Drawing::Point(147, 196);
			this->txtTrailingStopThresh_S1->Name = L"txtTrailingStopThresh_S1";
			this->txtTrailingStopThresh_S1->Size = System::Drawing::Size(95, 20);
			this->txtTrailingStopThresh_S1->TabIndex = 41;
			// 
			// txtTrailingStopPeriod_S1
			// 
			this->txtTrailingStopPeriod_S1->Location = System::Drawing::Point(138, 240);
			this->txtTrailingStopPeriod_S1->Name = L"txtTrailingStopPeriod_S1";
			this->txtTrailingStopPeriod_S1->Size = System::Drawing::Size(40, 20);
			this->txtTrailingStopPeriod_S1->TabIndex = 45;
			// 
			// txtDynamicRiskRewardParameter_S1
			// 
			this->txtDynamicRiskRewardParameter_S1->Enabled = false;
			this->txtDynamicRiskRewardParameter_S1->Location = System::Drawing::Point(217, 143);
			this->txtDynamicRiskRewardParameter_S1->Name = L"txtDynamicRiskRewardParameter_S1";
			this->txtDynamicRiskRewardParameter_S1->Size = System::Drawing::Size(26, 20);
			this->txtDynamicRiskRewardParameter_S1->TabIndex = 44;
			// 
			// txtTrailingStopThreshSpace_S1
			// 
			this->txtTrailingStopThreshSpace_S1->Location = System::Drawing::Point(183, 219);
			this->txtTrailingStopThreshSpace_S1->Name = L"txtTrailingStopThreshSpace_S1";
			this->txtTrailingStopThreshSpace_S1->Size = System::Drawing::Size(33, 20);
			this->txtTrailingStopThreshSpace_S1->TabIndex = 44;
			// 
			// txtStopLossSpread_S1
			// 
			this->txtStopLossSpread_S1->Location = System::Drawing::Point(125, 288);
			this->txtStopLossSpread_S1->Name = L"txtStopLossSpread_S1";
			this->txtStopLossSpread_S1->Size = System::Drawing::Size(88, 20);
			this->txtStopLossSpread_S1->TabIndex = 43;
			// 
			// txtTriggerSpread_S1
			// 
			this->txtTriggerSpread_S1->Location = System::Drawing::Point(214, 263);
			this->txtTriggerSpread_S1->Name = L"txtTriggerSpread_S1";
			this->txtTriggerSpread_S1->Size = System::Drawing::Size(29, 20);
			this->txtTriggerSpread_S1->TabIndex = 42;
			// 
			// label32
			// 
			this->label32->AutoSize = true;
			this->label32->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(177)));
			this->label32->Location = System::Drawing::Point(9, 144);
			this->label32->Name = L"label32";
			this->label32->Size = System::Drawing::Size(211, 16);
			this->label32->TabIndex = 34;
			this->label32->Text = L"Dynamic Risk-Reward Parameter:";
			// 
			// label5
			// 
			this->label5->AutoSize = true;
			this->label5->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(177)));
			this->label5->Location = System::Drawing::Point(9, 174);
			this->label5->Name = L"label5";
			this->label5->Size = System::Drawing::Size(90, 16);
			this->label5->TabIndex = 34;
			this->label5->Text = L"Risk In Dollar:";
			// 
			// label8
			// 
			this->label8->AutoSize = true;
			this->label8->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(177)));
			this->label8->Location = System::Drawing::Point(9, 197);
			this->label8->Name = L"label8";
			this->label8->Size = System::Drawing::Size(132, 16);
			this->label8->TabIndex = 34;
			this->label8->Text = L"Trailing Stop Thresh:";
			// 
			// txtRoundStopPrice_S1
			// 
			this->txtRoundStopPrice_S1->Location = System::Drawing::Point(157, 333);
			this->txtRoundStopPrice_S1->Name = L"txtRoundStopPrice_S1";
			this->txtRoundStopPrice_S1->Size = System::Drawing::Size(56, 20);
			this->txtRoundStopPrice_S1->TabIndex = 47;
			// 
			// txtRoundPrice_S1
			// 
			this->txtRoundPrice_S1->Location = System::Drawing::Point(105, 310);
			this->txtRoundPrice_S1->Name = L"txtRoundPrice_S1";
			this->txtRoundPrice_S1->Size = System::Drawing::Size(108, 20);
			this->txtRoundPrice_S1->TabIndex = 46;
			// 
			// label4
			// 
			this->label4->AutoSize = true;
			this->label4->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(177)));
			this->label4->Location = System::Drawing::Point(9, 242);
			this->label4->Name = L"label4";
			this->label4->Size = System::Drawing::Size(238, 16);
			this->label4->TabIndex = 35;
			this->label4->Text = L"Trailing Stop Period                   (minutes)";
			// 
			// tb2
			// 
			this->tb2->BackColor = System::Drawing::SystemColors::Control;
			this->tb2->Controls->Add(this->label30);
			this->tb2->Controls->Add(this->label31);
			this->tb2->Controls->Add(this->label22);
			this->tb2->Controls->Add(this->cbLimit2Pro_S2);
			this->tb2->Controls->Add(this->txtLimit2Dst_S2);
			this->tb2->Controls->Add(this->cbLimit1Pro_S2);
			this->tb2->Controls->Add(this->txtLimit1Dst_S2);
			this->tb2->Controls->Add(this->label23);
			this->tb2->Controls->Add(this->label24);
			this->tb2->Controls->Add(this->label25);
			this->tb2->Controls->Add(this->cbFirstQuantity_S2);
			this->tb2->Controls->Add(this->txtQuantityToAdd_S2);
			this->tb2->Controls->Add(this->txtRiskInDollar_S2);
			this->tb2->Controls->Add(this->label21);
			this->tb2->Controls->Add(this->label20);
			this->tb2->Controls->Add(this->label19);
			this->tb2->Location = System::Drawing::Point(4, 22);
			this->tb2->Name = L"tb2";
			this->tb2->Padding = System::Windows::Forms::Padding(3);
			this->tb2->Size = System::Drawing::Size(257, 382);
			this->tb2->TabIndex = 2;
			this->tb2->Text = L"Momentum Wave";
			// 
			// label30
			// 
			this->label30->AutoSize = true;
			this->label30->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(177)));
			this->label30->Location = System::Drawing::Point(109, 49);
			this->label30->Name = L"label30";
			this->label30->Size = System::Drawing::Size(18, 16);
			this->label30->TabIndex = 53;
			this->label30->Text = L"D";
			// 
			// label31
			// 
			this->label31->AutoSize = true;
			this->label31->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(177)));
			this->label31->Location = System::Drawing::Point(109, 28);
			this->label31->Name = L"label31";
			this->label31->Size = System::Drawing::Size(18, 16);
			this->label31->TabIndex = 54;
			this->label31->Text = L"D";
			// 
			// label22
			// 
			this->label22->AutoSize = true;
			this->label22->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(177)));
			this->label22->Location = System::Drawing::Point(63, 3);
			this->label22->Name = L"label22";
			this->label22->Size = System::Drawing::Size(44, 16);
			this->label22->TabIndex = 46;
			this->label22->Text = L"Dest:";
			// 
			// cbLimit2Pro_S2
			// 
			this->cbLimit2Pro_S2->BackColor = System::Drawing::Color::White;
			this->cbLimit2Pro_S2->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
			this->cbLimit2Pro_S2->Enabled = false;
			this->cbLimit2Pro_S2->FormattingEnabled = true;
			this->cbLimit2Pro_S2->Location = System::Drawing::Point(128, 47);
			this->cbLimit2Pro_S2->Name = L"cbLimit2Pro_S2";
			this->cbLimit2Pro_S2->Size = System::Drawing::Size(106, 21);
			this->cbLimit2Pro_S2->TabIndex = 51;
			// 
			// txtLimit2Dst_S2
			// 
			this->txtLimit2Dst_S2->Enabled = false;
			this->txtLimit2Dst_S2->Location = System::Drawing::Point(68, 47);
			this->txtLimit2Dst_S2->Name = L"txtLimit2Dst_S2";
			this->txtLimit2Dst_S2->Size = System::Drawing::Size(39, 20);
			this->txtLimit2Dst_S2->TabIndex = 50;
			// 
			// cbLimit1Pro_S2
			// 
			this->cbLimit1Pro_S2->BackColor = System::Drawing::Color::White;
			this->cbLimit1Pro_S2->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
			this->cbLimit1Pro_S2->FormattingEnabled = true;
			this->cbLimit1Pro_S2->Items->AddRange(gcnew cli::array< System::Object^  >(2) {L"All", L"Half"});
			this->cbLimit1Pro_S2->Location = System::Drawing::Point(128, 26);
			this->cbLimit1Pro_S2->Name = L"cbLimit1Pro_S2";
			this->cbLimit1Pro_S2->Size = System::Drawing::Size(106, 21);
			this->cbLimit1Pro_S2->TabIndex = 52;
			// 
			// txtLimit1Dst_S2
			// 
			this->txtLimit1Dst_S2->Location = System::Drawing::Point(68, 26);
			this->txtLimit1Dst_S2->Name = L"txtLimit1Dst_S2";
			this->txtLimit1Dst_S2->Size = System::Drawing::Size(39, 20);
			this->txtLimit1Dst_S2->TabIndex = 49;
			// 
			// label23
			// 
			this->label23->AutoSize = true;
			this->label23->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(177)));
			this->label23->Location = System::Drawing::Point(18, 48);
			this->label23->Name = L"label23";
			this->label23->Size = System::Drawing::Size(48, 16);
			this->label23->TabIndex = 47;
			this->label23->Text = L"Limit 2:";
			// 
			// label24
			// 
			this->label24->AutoSize = true;
			this->label24->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(177)));
			this->label24->Location = System::Drawing::Point(18, 27);
			this->label24->Name = L"label24";
			this->label24->Size = System::Drawing::Size(48, 16);
			this->label24->TabIndex = 48;
			this->label24->Text = L"Limit 1:";
			// 
			// label25
			// 
			this->label25->AutoSize = true;
			this->label25->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(177)));
			this->label25->Location = System::Drawing::Point(133, 3);
			this->label25->Name = L"label25";
			this->label25->Size = System::Drawing::Size(84, 16);
			this->label25->TabIndex = 45;
			this->label25->Text = L"Proportion:";
			// 
			// cbFirstQuantity_S2
			// 
			this->cbFirstQuantity_S2->BackColor = System::Drawing::Color::White;
			this->cbFirstQuantity_S2->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
			this->cbFirstQuantity_S2->FormattingEnabled = true;
			this->cbFirstQuantity_S2->Items->AddRange(gcnew cli::array< System::Object^  >(2) {L"100", L"200"});
			this->cbFirstQuantity_S2->Location = System::Drawing::Point(107, 110);
			this->cbFirstQuantity_S2->Name = L"cbFirstQuantity_S2";
			this->cbFirstQuantity_S2->Size = System::Drawing::Size(137, 21);
			this->cbFirstQuantity_S2->TabIndex = 44;
			// 
			// txtQuantityToAdd_S2
			// 
			this->txtQuantityToAdd_S2->Location = System::Drawing::Point(175, 137);
			this->txtQuantityToAdd_S2->Name = L"txtQuantityToAdd_S2";
			this->txtQuantityToAdd_S2->Size = System::Drawing::Size(69, 20);
			this->txtQuantityToAdd_S2->TabIndex = 43;
			// 
			// txtRiskInDollar_S2
			// 
			this->txtRiskInDollar_S2->Location = System::Drawing::Point(107, 84);
			this->txtRiskInDollar_S2->Name = L"txtRiskInDollar_S2";
			this->txtRiskInDollar_S2->Size = System::Drawing::Size(137, 20);
			this->txtRiskInDollar_S2->TabIndex = 43;
			// 
			// label21
			// 
			this->label21->AutoSize = true;
			this->label21->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(177)));
			this->label21->Location = System::Drawing::Point(11, 138);
			this->label21->Name = L"label21";
			this->label21->Size = System::Drawing::Size(158, 16);
			this->label21->TabIndex = 42;
			this->label21->Text = L"Quantity To Add In Steps:";
			// 
			// label20
			// 
			this->label20->AutoSize = true;
			this->label20->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(177)));
			this->label20->Location = System::Drawing::Point(11, 111);
			this->label20->Name = L"label20";
			this->label20->Size = System::Drawing::Size(87, 16);
			this->label20->TabIndex = 42;
			this->label20->Text = L"First Quantity:";
			// 
			// label19
			// 
			this->label19->AutoSize = true;
			this->label19->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(177)));
			this->label19->Location = System::Drawing::Point(11, 85);
			this->label19->Name = L"label19";
			this->label19->Size = System::Drawing::Size(90, 16);
			this->label19->TabIndex = 42;
			this->label19->Text = L"Risk In Dollar:";
			// 
			// label1
			// 
			this->label1->AutoSize = true;
			this->label1->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(177)));
			this->label1->Location = System::Drawing::Point(9, 219);
			this->label1->Name = L"label1";
			this->label1->Size = System::Drawing::Size(239, 16);
			this->label1->TabIndex = 38;
			this->label1->Text = L"Trailing Stop Thresh Space:              %R";
			// 
			// label3
			// 
			this->label3->AutoSize = true;
			this->label3->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(177)));
			this->label3->Location = System::Drawing::Point(9, 289);
			this->label3->Name = L"label3";
			this->label3->Size = System::Drawing::Size(237, 16);
			this->label3->TabIndex = 36;
			this->label3->Text = L"StopLoss Spread                                 % R";
			// 
			// txtAutoCloseLimit_G
			// 
			this->txtAutoCloseLimit_G->Location = System::Drawing::Point(198, 30);
			this->txtAutoCloseLimit_G->Name = L"txtAutoCloseLimit_G";
			this->txtAutoCloseLimit_G->Size = System::Drawing::Size(41, 20);
			this->txtAutoCloseLimit_G->TabIndex = 43;
			// 
			// ckUseAdvisor_G
			// 
			this->ckUseAdvisor_G->AutoSize = true;
			this->ckUseAdvisor_G->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(177)));
			this->ckUseAdvisor_G->Location = System::Drawing::Point(12, 16);
			this->ckUseAdvisor_G->Name = L"ckUseAdvisor_G";
			this->ckUseAdvisor_G->Size = System::Drawing::Size(159, 20);
			this->ckUseAdvisor_G->TabIndex = 14;
			this->ckUseAdvisor_G->Text = L"Use Advisor Account\?";
			this->ckUseAdvisor_G->UseVisualStyleBackColor = true;
			// 
			// label16
			// 
			this->label16->AutoSize = true;
			this->label16->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(177)));
			this->label16->Location = System::Drawing::Point(5, 57);
			this->label16->Name = L"label16";
			this->label16->Size = System::Drawing::Size(187, 16);
			this->label16->TabIndex = 42;
			this->label16->Text = L"Auto-Close Positions (Market):";
			// 
			// label10
			// 
			this->label10->AutoSize = true;
			this->label10->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(177)));
			this->label10->Location = System::Drawing::Point(5, 31);
			this->label10->Name = L"label10";
			this->label10->Size = System::Drawing::Size(173, 16);
			this->label10->TabIndex = 42;
			this->label10->Text = L"Auto-Close Positions (Limit):";
			// 
			// cbSubAcc_G
			// 
			this->cbSubAcc_G->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
			this->cbSubAcc_G->Enabled = false;
			this->cbSubAcc_G->FormattingEnabled = true;
			this->cbSubAcc_G->Items->AddRange(gcnew cli::array< System::Object^  >(20) {L"1", L"2", L"3", L"4", L"5", L"6", L"7", L"8", 
				L"9", L"10", L"11", L"12", L"13", L"14", L"15", L"16", L"17", L"18", L"19", L"20"});
			this->cbSubAcc_G->Location = System::Drawing::Point(167, 65);
			this->cbSubAcc_G->Name = L"cbSubAcc_G";
			this->cbSubAcc_G->Size = System::Drawing::Size(64, 21);
			this->cbSubAcc_G->TabIndex = 15;
			// 
			// ckAlwaysOnTop_G
			// 
			this->ckAlwaysOnTop_G->AutoSize = true;
			this->ckAlwaysOnTop_G->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(177)));
			this->ckAlwaysOnTop_G->Location = System::Drawing::Point(8, 6);
			this->ckAlwaysOnTop_G->Name = L"ckAlwaysOnTop_G";
			this->ckAlwaysOnTop_G->Size = System::Drawing::Size(173, 20);
			this->ckAlwaysOnTop_G->TabIndex = 0;
			this->ckAlwaysOnTop_G->Text = L"Program Always On Top";
			this->ckAlwaysOnTop_G->UseVisualStyleBackColor = true;
			// 
			// txtAutoCloseMarket_G
			// 
			this->txtAutoCloseMarket_G->Location = System::Drawing::Point(198, 56);
			this->txtAutoCloseMarket_G->Name = L"txtAutoCloseMarket_G";
			this->txtAutoCloseMarket_G->Size = System::Drawing::Size(41, 20);
			this->txtAutoCloseMarket_G->TabIndex = 43;
			// 
			// txtAllocation_G
			// 
			this->txtAllocation_G->Enabled = false;
			this->txtAllocation_G->Location = System::Drawing::Point(85, 38);
			this->txtAllocation_G->Name = L"txtAllocation_G";
			this->txtAllocation_G->Size = System::Drawing::Size(146, 20);
			this->txtAllocation_G->TabIndex = 10;
			this->txtAllocation_G->TabStop = false;
			this->txtAllocation_G->Text = L"All";
			// 
			// label18
			// 
			this->label18->AutoSize = true;
			this->label18->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(177)));
			this->label18->Location = System::Drawing::Point(9, 39);
			this->label18->Name = L"label18";
			this->label18->Size = System::Drawing::Size(70, 16);
			this->label18->TabIndex = 9;
			this->label18->Text = L"Allocation:";
			// 
			// btnCancel
			// 
			this->btnCancel->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(177)));
			this->btnCancel->Location = System::Drawing::Point(114, 414);
			this->btnCancel->Name = L"btnCancel";
			this->btnCancel->Size = System::Drawing::Size(91, 28);
			this->btnCancel->TabIndex = 11;
			this->btnCancel->Text = L"Cancel";
			this->btnCancel->UseVisualStyleBackColor = true;
			// 
			// tbGeneral
			// 
			this->tbGeneral->BackColor = System::Drawing::SystemColors::Control;
			this->tbGeneral->Controls->Add(this->groupBox1);
			this->tbGeneral->Controls->Add(this->txtAutoCloseMarket_G);
			this->tbGeneral->Controls->Add(this->txtAutoCloseLimit_G);
			this->tbGeneral->Controls->Add(this->label16);
			this->tbGeneral->Controls->Add(this->label10);
			this->tbGeneral->Controls->Add(this->ckAlwaysOnTop_G);
			this->tbGeneral->Location = System::Drawing::Point(4, 22);
			this->tbGeneral->Name = L"tbGeneral";
			this->tbGeneral->Padding = System::Windows::Forms::Padding(3);
			this->tbGeneral->Size = System::Drawing::Size(257, 382);
			this->tbGeneral->TabIndex = 0;
			this->tbGeneral->Text = L"General";
			// 
			// groupBox1
			// 
			this->groupBox1->Controls->Add(this->ckUseAdvisor_G);
			this->groupBox1->Controls->Add(this->cbSubAcc_G);
			this->groupBox1->Controls->Add(this->txtAllocation_G);
			this->groupBox1->Controls->Add(this->label17);
			this->groupBox1->Controls->Add(this->label18);
			this->groupBox1->Location = System::Drawing::Point(8, 82);
			this->groupBox1->Name = L"groupBox1";
			this->groupBox1->Size = System::Drawing::Size(243, 97);
			this->groupBox1->TabIndex = 44;
			this->groupBox1->TabStop = false;
			this->groupBox1->Text = L"Interactive Broker - Advisor Account";
			// 
			// label17
			// 
			this->label17->AutoSize = true;
			this->label17->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(177)));
			this->label17->Location = System::Drawing::Point(9, 66);
			this->label17->Name = L"label17";
			this->label17->Size = System::Drawing::Size(155, 16);
			this->label17->TabIndex = 9;
			this->label17->Text = L"How Much SubAccounts:";
			// 
			// tb1
			// 
			this->tb1->BackColor = System::Drawing::SystemColors::Control;
			this->tb1->Controls->Add(this->ckDynamicRiskReward_S1);
			this->tb1->Controls->Add(this->ckAddQuantityAfterFirstLimit_S1);
			this->tb1->Controls->Add(this->txtRiskInDollar_S1);
			this->tb1->Controls->Add(this->txtTrailingStopThresh_S1);
			this->tb1->Controls->Add(this->txtTrailingStopPeriod_S1);
			this->tb1->Controls->Add(this->txtDynamicRiskRewardParameter_S1);
			this->tb1->Controls->Add(this->txtTrailingStopThreshSpace_S1);
			this->tb1->Controls->Add(this->txtStopLossSpread_S1);
			this->tb1->Controls->Add(this->txtTriggerSpread_S1);
			this->tb1->Controls->Add(this->label32);
			this->tb1->Controls->Add(this->label5);
			this->tb1->Controls->Add(this->label8);
			this->tb1->Controls->Add(this->txtRoundStopPrice_S1);
			this->tb1->Controls->Add(this->txtRoundPrice_S1);
			this->tb1->Controls->Add(this->label4);
			this->tb1->Controls->Add(this->label1);
			this->tb1->Controls->Add(this->label3);
			this->tb1->Controls->Add(this->label9);
			this->tb1->Controls->Add(this->label2);
			this->tb1->Controls->Add(this->label15);
			this->tb1->Controls->Add(this->cbLimit4Pro_S1);
			this->tb1->Controls->Add(this->cbLimit3Pro_S1);
			this->tb1->Controls->Add(this->label13);
			this->tb1->Controls->Add(this->cbLimit2Pro_S1);
			this->tb1->Controls->Add(this->txtLimit2Dst_S1);
			this->tb1->Controls->Add(this->cbLimit1Pro_S1);
			this->tb1->Controls->Add(this->txtLimit1Dst_S1);
			this->tb1->Controls->Add(this->label12);
			this->tb1->Controls->Add(this->txtLimit4Dst_S1);
			this->tb1->Controls->Add(this->label7);
			this->tb1->Controls->Add(this->label14);
			this->tb1->Controls->Add(this->txtLimit3Dst_S1);
			this->tb1->Controls->Add(this->label29);
			this->tb1->Controls->Add(this->label28);
			this->tb1->Controls->Add(this->label27);
			this->tb1->Controls->Add(this->label26);
			this->tb1->Controls->Add(this->label6);
			this->tb1->Controls->Add(this->label11);
			this->tb1->Location = System::Drawing::Point(4, 22);
			this->tb1->Name = L"tb1";
			this->tb1->Padding = System::Windows::Forms::Padding(3);
			this->tb1->Size = System::Drawing::Size(257, 382);
			this->tb1->TabIndex = 1;
			this->tb1->Text = L"Momentum Breaker";
			// 
			// label9
			// 
			this->label9->AutoSize = true;
			this->label9->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(177)));
			this->label9->Location = System::Drawing::Point(9, 264);
			this->label9->Name = L"label9";
			this->label9->Size = System::Drawing::Size(204, 16);
			this->label9->TabIndex = 37;
			this->label9->Text = L"Trigger Spread 10% From Stop +";
			// 
			// label2
			// 
			this->label2->AutoSize = true;
			this->label2->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(177)));
			this->label2->Location = System::Drawing::Point(9, 334);
			this->label2->Name = L"label2";
			this->label2->Size = System::Drawing::Size(240, 16);
			this->label2->TabIndex = 40;
			this->label2->Text = L"Round a stop loss price                      % R";
			// 
			// label15
			// 
			this->label15->AutoSize = true;
			this->label15->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(177)));
			this->label15->Location = System::Drawing::Point(9, 311);
			this->label15->Name = L"label15";
			this->label15->Size = System::Drawing::Size(237, 16);
			this->label15->TabIndex = 39;
			this->label15->Text = L"Round a price                                        % R";
			// 
			// cbLimit4Pro_S1
			// 
			this->cbLimit4Pro_S1->BackColor = System::Drawing::Color::White;
			this->cbLimit4Pro_S1->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
			this->cbLimit4Pro_S1->Enabled = false;
			this->cbLimit4Pro_S1->FormattingEnabled = true;
			this->cbLimit4Pro_S1->Location = System::Drawing::Point(130, 94);
			this->cbLimit4Pro_S1->Name = L"cbLimit4Pro_S1";
			this->cbLimit4Pro_S1->Size = System::Drawing::Size(106, 21);
			this->cbLimit4Pro_S1->TabIndex = 32;
			// 
			// cbLimit3Pro_S1
			// 
			this->cbLimit3Pro_S1->BackColor = System::Drawing::Color::White;
			this->cbLimit3Pro_S1->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
			this->cbLimit3Pro_S1->Enabled = false;
			this->cbLimit3Pro_S1->FormattingEnabled = true;
			this->cbLimit3Pro_S1->Location = System::Drawing::Point(130, 73);
			this->cbLimit3Pro_S1->Name = L"cbLimit3Pro_S1";
			this->cbLimit3Pro_S1->Size = System::Drawing::Size(106, 21);
			this->cbLimit3Pro_S1->TabIndex = 33;
			// 
			// label13
			// 
			this->label13->AutoSize = true;
			this->label13->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(177)));
			this->label13->Location = System::Drawing::Point(65, 6);
			this->label13->Name = L"label13";
			this->label13->Size = System::Drawing::Size(44, 16);
			this->label13->TabIndex = 21;
			this->label13->Text = L"Dest:";
			// 
			// cbLimit2Pro_S1
			// 
			this->cbLimit2Pro_S1->BackColor = System::Drawing::Color::White;
			this->cbLimit2Pro_S1->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
			this->cbLimit2Pro_S1->Enabled = false;
			this->cbLimit2Pro_S1->FormattingEnabled = true;
			this->cbLimit2Pro_S1->Location = System::Drawing::Point(130, 50);
			this->cbLimit2Pro_S1->Name = L"cbLimit2Pro_S1";
			this->cbLimit2Pro_S1->Size = System::Drawing::Size(106, 21);
			this->cbLimit2Pro_S1->TabIndex = 30;
			// 
			// txtLimit2Dst_S1
			// 
			this->txtLimit2Dst_S1->Enabled = false;
			this->txtLimit2Dst_S1->Location = System::Drawing::Point(70, 50);
			this->txtLimit2Dst_S1->Name = L"txtLimit2Dst_S1";
			this->txtLimit2Dst_S1->Size = System::Drawing::Size(39, 20);
			this->txtLimit2Dst_S1->TabIndex = 27;
			// 
			// cbLimit1Pro_S1
			// 
			this->cbLimit1Pro_S1->BackColor = System::Drawing::Color::White;
			this->cbLimit1Pro_S1->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
			this->cbLimit1Pro_S1->FormattingEnabled = true;
			this->cbLimit1Pro_S1->Items->AddRange(gcnew cli::array< System::Object^  >(4) {L"All", L"Half", L"Third", L"Quarter"});
			this->cbLimit1Pro_S1->Location = System::Drawing::Point(130, 29);
			this->cbLimit1Pro_S1->Name = L"cbLimit1Pro_S1";
			this->cbLimit1Pro_S1->Size = System::Drawing::Size(106, 21);
			this->cbLimit1Pro_S1->TabIndex = 31;
			// 
			// txtLimit1Dst_S1
			// 
			this->txtLimit1Dst_S1->Location = System::Drawing::Point(70, 29);
			this->txtLimit1Dst_S1->Name = L"txtLimit1Dst_S1";
			this->txtLimit1Dst_S1->Size = System::Drawing::Size(39, 20);
			this->txtLimit1Dst_S1->TabIndex = 26;
			// 
			// label12
			// 
			this->label12->AutoSize = true;
			this->label12->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(177)));
			this->label12->Location = System::Drawing::Point(20, 74);
			this->label12->Name = L"label12";
			this->label12->Size = System::Drawing::Size(48, 16);
			this->label12->TabIndex = 25;
			this->label12->Text = L"Limit 3:";
			// 
			// txtLimit4Dst_S1
			// 
			this->txtLimit4Dst_S1->Enabled = false;
			this->txtLimit4Dst_S1->Location = System::Drawing::Point(70, 94);
			this->txtLimit4Dst_S1->Name = L"txtLimit4Dst_S1";
			this->txtLimit4Dst_S1->Size = System::Drawing::Size(39, 20);
			this->txtLimit4Dst_S1->TabIndex = 28;
			// 
			// label7
			// 
			this->label7->AutoSize = true;
			this->label7->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(177)));
			this->label7->Location = System::Drawing::Point(20, 51);
			this->label7->Name = L"label7";
			this->label7->Size = System::Drawing::Size(48, 16);
			this->label7->TabIndex = 23;
			this->label7->Text = L"Limit 2:";
			// 
			// label14
			// 
			this->label14->AutoSize = true;
			this->label14->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(177)));
			this->label14->Location = System::Drawing::Point(20, 95);
			this->label14->Name = L"label14";
			this->label14->Size = System::Drawing::Size(48, 16);
			this->label14->TabIndex = 22;
			this->label14->Text = L"Limit 4:";
			// 
			// txtLimit3Dst_S1
			// 
			this->txtLimit3Dst_S1->Enabled = false;
			this->txtLimit3Dst_S1->Location = System::Drawing::Point(70, 73);
			this->txtLimit3Dst_S1->Name = L"txtLimit3Dst_S1";
			this->txtLimit3Dst_S1->Size = System::Drawing::Size(39, 20);
			this->txtLimit3Dst_S1->TabIndex = 29;
			// 
			// label29
			// 
			this->label29->AutoSize = true;
			this->label29->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(177)));
			this->label29->Location = System::Drawing::Point(110, 95);
			this->label29->Name = L"label29";
			this->label29->Size = System::Drawing::Size(18, 16);
			this->label29->TabIndex = 24;
			this->label29->Text = L"R";
			// 
			// label28
			// 
			this->label28->AutoSize = true;
			this->label28->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(177)));
			this->label28->Location = System::Drawing::Point(110, 74);
			this->label28->Name = L"label28";
			this->label28->Size = System::Drawing::Size(18, 16);
			this->label28->TabIndex = 24;
			this->label28->Text = L"R";
			// 
			// label27
			// 
			this->label27->AutoSize = true;
			this->label27->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(177)));
			this->label27->Location = System::Drawing::Point(110, 51);
			this->label27->Name = L"label27";
			this->label27->Size = System::Drawing::Size(18, 16);
			this->label27->TabIndex = 24;
			this->label27->Text = L"R";
			// 
			// label26
			// 
			this->label26->AutoSize = true;
			this->label26->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(177)));
			this->label26->Location = System::Drawing::Point(110, 30);
			this->label26->Name = L"label26";
			this->label26->Size = System::Drawing::Size(18, 16);
			this->label26->TabIndex = 24;
			this->label26->Text = L"R";
			// 
			// label6
			// 
			this->label6->AutoSize = true;
			this->label6->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(177)));
			this->label6->Location = System::Drawing::Point(20, 30);
			this->label6->Name = L"label6";
			this->label6->Size = System::Drawing::Size(48, 16);
			this->label6->TabIndex = 24;
			this->label6->Text = L"Limit 1:";
			// 
			// label11
			// 
			this->label11->AutoSize = true;
			this->label11->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(177)));
			this->label11->Location = System::Drawing::Point(135, 6);
			this->label11->Name = L"label11";
			this->label11->Size = System::Drawing::Size(84, 16);
			this->label11->TabIndex = 20;
			this->label11->Text = L"Proportion:";
			// 
			// btnRestoreToDefault_G
			// 
			this->btnRestoreToDefault_G->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Regular, 
				System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(177)));
			this->btnRestoreToDefault_G->Location = System::Drawing::Point(220, 415);
			this->btnRestoreToDefault_G->Name = L"btnRestoreToDefault_G";
			this->btnRestoreToDefault_G->Size = System::Drawing::Size(198, 27);
			this->btnRestoreToDefault_G->TabIndex = 10;
			this->btnRestoreToDefault_G->Text = L"Restore All Options To Default";
			this->btnRestoreToDefault_G->UseVisualStyleBackColor = true;
			// 
			// lblHelp
			// 
			this->lblHelp->BorderStyle = System::Windows::Forms::BorderStyle::FixedSingle;
			this->lblHelp->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 11.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(177)));
			this->lblHelp->Location = System::Drawing::Point(271, 22);
			this->lblHelp->Name = L"lblHelp";
			this->lblHelp->Size = System::Drawing::Size(151, 386);
			this->lblHelp->TabIndex = 12;
			this->lblHelp->Text = L"Move the curser to any text to see help";
			// 
			// btnOK
			// 
			this->btnOK->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(177)));
			this->btnOK->Location = System::Drawing::Point(8, 414);
			this->btnOK->Name = L"btnOK";
			this->btnOK->Size = System::Drawing::Size(91, 28);
			this->btnOK->TabIndex = 9;
			this->btnOK->Text = L"OK";
			this->btnOK->UseVisualStyleBackColor = true;
			// 
			// tabControl1
			// 
			this->tabControl1->Controls->Add(this->tbGeneral);
			this->tabControl1->Controls->Add(this->tb1);
			this->tabControl1->Controls->Add(this->tb2);
			this->tabControl1->Location = System::Drawing::Point(0, 0);
			this->tabControl1->Name = L"tabControl1";
			this->tabControl1->SelectedIndex = 0;
			this->tabControl1->Size = System::Drawing::Size(265, 408);
			this->tabControl1->TabIndex = 8;
			// 
			// frmOptions
			// 
			this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
			this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
			this->ClientSize = System::Drawing::Size(423, 445);
			this->Controls->Add(this->btnCancel);
			this->Controls->Add(this->btnRestoreToDefault_G);
			this->Controls->Add(this->lblHelp);
			this->Controls->Add(this->btnOK);
			this->Controls->Add(this->tabControl1);
			this->FormBorderStyle = System::Windows::Forms::FormBorderStyle::FixedSingle;
			this->MaximizeBox = false;
			this->Name = L"frmOptions";
			this->StartPosition = System::Windows::Forms::FormStartPosition::CenterScreen;
			this->Text = L"TradeIt - Options";
			this->tb2->ResumeLayout(false);
			this->tb2->PerformLayout();
			this->tbGeneral->ResumeLayout(false);
			this->tbGeneral->PerformLayout();
			this->groupBox1->ResumeLayout(false);
			this->groupBox1->PerformLayout();
			this->tb1->ResumeLayout(false);
			this->tb1->PerformLayout();
			this->tabControl1->ResumeLayout(false);
			this->ResumeLayout(false);

		}
#pragma endregion
	};
}
